<?php

/**
 * WeEngine System
 *
 * (c) We7Team 2021 <https://www.w7.cc>
 *
 * This is not a free software
 * Using it under the license terms
 * visited https://www.w7.cc for more details
 */

namespace W7\Addons\demo_tp_wechat\Upgrade100;

use W7\Sdk\OpenCloud\Contracts\ModuleUpgradeInterface;

class Down implements ModuleUpgradeInterface
{
    public function database(): array
    {
        $sql[] = <<<EOF
DROP TABLE IF EXISTS `ims_w7_demo_tp_wechat_news`;
EOF;
        return $sql;
    }
    
    public function script(): bool
    {
        return true;
    }
}
